package com.xx.service;

import com.xx.domain.Role;
import com.xx.domain.User;

import java.util.HashMap;
import java.util.List;

public interface UserService {
    //用户锁定和解锁
    int lockUser(User user);
    //删除单个用户
    int deleteUser(int uId);
    //批量删除
    int deleteAll(int uId[]);
    //添加用户
    int insertUser(User user);
    //用户详情
    User userDetails(int uId);
    //绑定角色
    List<Role> showROle(int uId);
    int insertUserRole(HashMap map);
}
